package me.exchange.com.modules.system.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author Zheng Jie
 * @date 2018-12-17
 */
@Getter
@Setter
public class MenuDto implements Serializable {

    private Long id;

    /** 菜单名称*/
    private String resourcesName;

    /** 资源编码*/
    private String resourcesCode;

    /** 图标*/
    private String icon;

    /** 类型 1目录 2菜单 2按钮*/
    private Integer type;

    /** 链接地址*/
    private String path;

    /** 状态 0关闭 1开启*/
    private Boolean status;

    /** 上级菜单ID*/
    private Long parentId;

    /** 权限*/
    private String permission;

/*    private Boolean cache;

    private Boolean hidden;*/

    /** 排序*/
    private Long sort;

    /** 是否删除 1未删除 0删除*/
    private Boolean isdel;

    /** 创建人*/
    private Long cAdminId;

    /** 创建时间*/
    private Timestamp cAdminTime;

    /** 修改人*/
    private Long uAdminId;

    /** 修改时间*/
    private Timestamp uAdminTime;

    private List<MenuDto> children;

}
